package top.auntie.service;

import com.github.pagehelper.PageInfo;
import top.auntie.bean.PageReq;
import top.auntie.model.Org;

import java.util.List;

public interface OrgService {

    PageInfo queryOrg(PageReq pageReq);

    void saveOrg(Org org);

    void deleteOrg(Integer id);

    Org getOrgById(Integer id);

    List<Org> getAllOrg();
}
